#! /bin/sh

profile=$1

if [ $# = 0 ] ; then
    echo "error: must specify a profile (dev,prod etc.)";
    exit 1
fi

mvn clean package -P$profile -Dmaven.test.skip=true -DskipTests=true